<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加页面</title>
</head>
<style>
    .dv{
        border-radius:5px;
        border:2px solid;
        padding:20px 0px 0px 20px;
        width:300px;
        height:200px;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        margin: auto;
        position: fixed;
        background-color:#6495ed;
    }
    body{
        background-color: #00FFFF;
    }
</style>
<body>
<form method="get" action="addServlet">
    <div class="dv">
        <div style="text-align: center"><h3>添加信息</h3></div>
    <table style="margin-left:10px">
        <tr>
            <td>编号：</td>
            <td><input type="text" name="no" required placeholder="请输入手机编号"/></td>
        </tr>
        <tr>
            <td>名称：</td>
            <td><input type="text" name="name" required placeholder="请输入手机名称"/></td>
        </tr>
        <tr>
            <td>价格：</td>
            <td><input type="text" name="price" required placeholder="请输入手机价格"/></td>
        </tr>
    </table>
    <input STYLE="margin:20px 0px 0px 110px" type="submit" value="提交">
    </div>
</form>

</body>
</html>
